<!DOCTYPE html>
<html>
<head>
<title>组织机构</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=8, IE=9, IE=10, chrome=1" />
<meta name="renderer" content="webkit" />
<link href="../framework/css/font.css" rel="stylesheet" />
<link href="../framework/miniui/themes/material/miniui.css" rel="stylesheet" />
<link href="../framework/css/app.min.1.css" rel="stylesheet" type="text/css" />
<link href="../framework/css/app.min.2.css" rel="stylesheet" type="text/css" />
<script src="../framework/main.js"></script>
<style type="text/css">
.input-group-addon{width:160px;text-align: right;}
</style>
<script type="text/javascript">

	Page.onLoad(function(){});

	 function onDrawDate(e) {
		   var date = e.date;
		   var d = new Date();
		   if (date.getTime() <= d.getTime()) 
		   {
		     e.allowSelect = false;
		   }
		 }
</script> 
</head>
	<body class="dialog">
		<ef:init method="NewAccountNumber.findOneAccount">
			<form id="form2" id="dg2">
				<div class="container-fluid">
					<div class="row">
						<div class="col-xs-12">
						  <div class="input-group" style="margin-top:8px;display:none" >
								<span class="input-group-addon"></span>
								<input id="ID" name="ID" type="hidden"  class="mini-textbox" value="${ID}" required="true"/>
								<input id="OtherPhoneId" name="OtherPhoneId" type="hidden"  class="mini-textbox" value="${OtherPhoneId}" required="true"/>
							</div>
							<div class="input-group">
								<span class="input-group-addon">机构名称</span>
								<input id="FullName" name="FullName" type="text" class="mini-textbox" value="${FullName}" required="true"/>
							</div>
							<div class="input-group">
								<span class="input-group-addon">机构账号</span>
								<input id="Mobile" name="Mobile" type="text" class="mini-textbox" value="${Mobile}" required="true" readonly="disabled"/>
							</div>
							<div class="input-group">
							<span class="input-group-addon">性别</span> 
							<div 
								id="Gender" name="Gender"
								class="mini-radiobuttonlist" 
								repeatItems="2" 
								repeatLayout="" 
								repeatDirection="horizontal"
							    textField="text" 
							    valueField="id" 
							    value="${Gender }"
							    data="[{id:'M',text:'男'},{id:'F',text:'女'}]" >
							</div>
							</div>
							<div class="input-group">
								<span class="input-group-addon">创建日期</span>
								<input id="AddTime" readonly="disabled" autocomplete="off" class="mini-textbox-input form-control" name="AddTime"  value="${AddTime}" required="true"/>
							</div>
							<div class="input-group">
								<span class="input-group-addon">使用日期</span>
								<input id="Life" 
									name="Life" 
									class="mini-datepicker" 
									value="${Life}" 
									required="true" 
									allowInput="false" 
									showTodayButton="false"  
									ondrawdate="onDrawDate"
									format="yyyy-MM-dd H:mm:ss" 
									timeFormat="H:mm:ss" 
									showTime="true"
									showClearButton="true"
									showOkButton="true"
									style="width:180px"
								/>
							</div>
							<div class="input-group">
								<span class="input-group-addon">二级账号数量</span>
								<input id="CountMember" name="CountMember" class="mini-textbox" type="text" value="${CountMember}" required="true"/>
							</div>
							<div class="input-group">
								<span class="input-group-addon">法定代表人</span>
								<input id="LegalRepresentative" name="LegalRepresentative" type="text" value="${LegalRepresentative}" class="mini-textbox" style="width:200px"/>
							</div>
							<div class="input-group">
								<span class="input-group-addon">统一社会信用代码</span>
								<input id="LicenseNumber" type="text" class="mini-textbox" name="LicenseNumber"  value="${LicenseNumber}" style="width:200px"/>
							</div>
							<div class="input-group">
								<span class="input-group-addon">地址</span>
								<input id="Address" type="text" value="${Address}" class="mini-textbox" verify="Length<20" style="width:200px" />
							</div>
							<div class="input-group">
								<span class="input-group-addon">联系人</span>
								<input id="ContactName" name="ContactName" type="text" value="${ContactName}" class="mini-textbox" verify="Length<20" vtype="Tel" style="width:200px" />
							</div>
							<div class="input-group">
								<span class="input-group-addon">联系电话</span>
								<input id="ContactPhone" name="ContactPhone" type="text" value="${ContactPhone}" class="mini-textbox" verify="Length<20" vtype="Tel" style="width:200px" required="true"/>
							</div>
							<div class="input-group">
								<span class="input-group-addon">联系方式2</span>
								<input id="SecondPhone" name="SecondPhone" type="text" value="${SecondPhone}" class="mini-textbox" verify="Length<20" vtype="Tel" style="width:200px" />
							</div>
							<div class="input-group">
								<span class="input-group-addon">联系方式3</span>
								<input id="ThirdPhone" name="ThirdPhone" type="text" value="${ThirdPhone}" class="mini-textbox" verify="Length<20" vtype="Tel" style="width:200px" />
							</div>
						</div>
					</div>
				</div>
			</form>
		</ef:init>
	</body>
</html>